package co.edu.javeriana.touresbalon.oms.services;

import co.edu.javeriana.touresbalon.b2c.entities.Producto;
import co.edu.javeriana.touresbalon.oms.entities.Orders;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author ada
 */
@Local
public interface OrdersBeanLocal {
    public void updateOrderFromProcess(String comments, Date refreshDate, String status, String processStatus, String orderId);  
    public void createOrderFromB2C(Orders newOrder, Producto newProduct);
    public List<Orders> findOrdersByCustomer(String idCustomer);
    public List<Orders> findOrdersByState(String state);
    public List<Orders> findOrdersByProcessState(String processState);
    public List<Orders> findOrdersByStateAndProcessState(String state, String processState);
}
